import request from '@/utils/request'

export function getOrderList(params) {
    return request({
        url: '/order',
        method: 'get',
        params

    })
}

export function cancelOrder(orderId) {
    return request({
        url: '/order',
        method: 'get',
        params:{
            orderId
        }

    })
}

